home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / cpio.postinst < prev    next >
Encoding:
Text File  |  2006-09-29  |  484 b   |  14 lines

  1. #!/bin/sh -e
  2.  
  3. if [ "$1" = configure ]; then
  4.     # Fix some screwup in old package
  5.     case "$2" in
  6.     (2.4.2-3[45]) update-alternatives --remove mt /bin/gmt; esac
  7.     update-alternatives --install /bin/mt mt /bin/mt-gnu 10 \
  8.       --slave \
  9.     /usr/share/man/man1/mt.1.gz mt.1.gz /usr/share/man/man1/mt-gnu.1.gz
  10.     install-info --quiet \
  11.       --description="A program to manage archives of files." \
  12.       --section "General Commands" "General Commands" /usr/share/info/cpio.info
  13. fi
  14.